<?php
$connection = ssh2_connect('8.154.18.197', 22);
ssh2_auth_password($connection, 'root', 'Aa123456!');


$stream = ssh2_exec($connection, "cd /; ls");
stream_set_blocking( $stream, true );
$response = stream_get_contents($stream);
var_dump($response);